﻿@model Models.WebSite_HaiSheng.JobApply
@Html.ValidationSummary(true)
<fieldset>
    @{
        if (Model == null)
        {
            Html.HiddenFor(model => model.RecruitmentID, (int)ViewBag.RecruitmentId);
        }
        else
        {
            Html.HiddenFor(model => model.RecruitmentID, Model.RecruitmentID);
        }
    }
    <legend>应聘</legend>
    <div class="editor-label">
        @Html.LabelFor(model => model.Applyer)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Applyer)
        @Html.ValidationMessageFor(model => model.Applyer)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Gender)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Gender)
        @Html.ValidationMessageFor(model => model.Gender)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.BirthDate)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.BirthDate)
        @Html.ValidationMessageFor(model => model.BirthDate)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.EnglishName)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.EnglishName)
        @Html.ValidationMessageFor(model => model.EnglishName)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.EducationLevel)
    </div>
    <div class="editor-field">
        @Html.DropDownListFor(model => model.EducationLevel, new SelectList(new List<string>() { "研究生以上", "研究生", "大学本科", "大学专科", "中专院校", "技工院校", "高中", "其他" }), "-请选择-")
        @Html.ValidationMessageFor(model => model.EducationLevel)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Cetification)
    </div>
    <div class="editor-field">
        @Html.DropDownListFor(model => model.Cetification, new SelectList(new List<string>() { "博士", "硕士", "学士", "无学位", "其他" }), "-请选择-")
        @Html.ValidationMessageFor(model => model.Cetification)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Race)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Race)
        @Html.ValidationMessageFor(model => model.Race)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Marriage)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Marriage)
        @Html.ValidationMessageFor(model => model.Marriage)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.ExpectedSalary)
        @Html.ValidationMessageFor(model => model.ExpectedSalary)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Political)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Political)
        @Html.ValidationMessageFor(model => model.Political)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.WorkingExperience)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.WorkingExperience)
        @Html.ValidationMessageFor(model => model.WorkingExperience)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.BirthPlace)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.BirthPlace)
        @Html.ValidationMessageFor(model => model.BirthPlace)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Contact)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Contact)
        @Html.ValidationMessageFor(model => model.Contact)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Email)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Email)
        @Html.ValidationMessageFor(model => model.Email)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.ExpectedSalary)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.ExpectedSalary)
        @Html.ValidationMessageFor(model => model.ExpectedSalary)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.EducationBackground)
    </div>
    <div class="editor-field">
        @Html.TextAreaFor(model => model.EducationBackground)
        @Html.ValidationMessageFor(model => model.EducationBackground)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.WorkingBackground)
    </div>
    <div class="editor-field">
        @Html.TextAreaFor(model => model.WorkingBackground)
        @Html.ValidationMessageFor(model => model.WorkingBackground)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.ProjectBackground)
    </div>
    <div class="editor-field">
        @Html.TextAreaFor(model => model.ProjectBackground)
        @Html.ValidationMessageFor(model => model.ProjectBackground)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Others)
    </div>
    <div class="editor-field">
        @Html.TextAreaFor(model => model.Others)
        @Html.ValidationMessageFor(model => model.Others)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Recruitment.JobTitle)
    </div>
    <div class="editor-field">
        @Html.DisplayFor(model=>model.Recruitment.JobTitle)
    </div>
    @Html.HiddenFor(model => model.ID)
    <div class="editor-label">
        @Html.LabelFor(model => model.Description)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Description)
        @Html.ValidationMessageFor(model => model.Description)
    </div>
    <div class="editor-label">
        @Html.LabelFor(model => model.Sequence)
    </div>
    <div class="editor-field">
        @Html.EditorFor(model => model.Sequence)
        @Html.ValidationMessageFor(model => model.Sequence)
    </div>
    <p>
        <input type="submit" value="保存" />
    </p>
</fieldset>
